﻿

#ifndef __TRAPMASTER_COMMON_STATICASSERT_H_
#define __TRAPMASTER_COMMON_STATICASSERT_H_







template<int> struct CompileTimeError;
template<> struct CompileTimeError<true> {};

#define STATIC_ASSERT(expr, msg) \
{ CompileTimeError<((expr) != 0)> ERROR_##msg; (void)ERROR_##msg; } 













#endif